Electronic device for communicating with host and operating method of the electronic device

ABSTRACT

An electronic device configured to communicate with a host includes: a detecting logic configured to receive an initial command signal and a first completion signal according to the initial command signal after a connection of the host to the electronic device is established, and transmit a detection signal based on a signal transmission policy of the host that has been detected based on the initial command signal and the first completion signal; and a transmitting logic configured to transmit a second completion signal to the host based on the detection signal, wherein the signal transmission policy is different depending on whether the first completion signal is received in response to the second completion signal.

CROSS-REFERENCE TO RELATED APPLICATION

This is a Continuation of U.S. application Ser. No. 16/671,542, filedNov. 1, 2019, which issued as U.S. Pat. No. 11,175,855 on Nov. 16, 2021,and a claim of priority under 35 U.S.C. § 119 is made to Korean PatentApplication No. 10-2018-0137606, filed on Nov. 9, 2018, in the KoreanIntellectual Property Office, the disclosure of which is incorporatedherein in its entirety by reference.

BACKGROUND

The inventive concept relates to an electronic device communicating witha host, and more particularly, an electronic device performingbi-directional communication with a host, and an operating method of theelectronic device.

As electronic technology has developed, the amount of information sentby electronic devices has rapidly increased, and research into aninterface for data communication has been conducted in various fieldssuch as a processing unit, a memory, and a communication device forefficiently performing data communication. However, in some conventionalinterfaces, the efficiency of data communication has been reduced due tothe establishment of half-duplex connection for various reasons.

SUMMARY

The inventive concept provides an electronic device capable ofcommunicating with a host by transmitting a completion signal to thehost as a signal transmission policy is detected, and an operatingmethod of the electronic device.

According to an aspect of the inventive concept, there is provided anelectronic device configured to communicate with a host, the electronicdevice including: a detecting logic configured to receive an initialcommand signal and a first completion signal corresponding to theinitial command signal after a connection of the host to the electronicdevice is established, and further configured to transmit a detectionsignal based on a signal transmission policy of the host that has beendetected based on the initial command signal and the first completionsignal; and a transmitting logic configured to transmit a secondcompletion signal to the host based on the detection signal, wherein thesignal transmission policy is different depending on whether the firstcompletion signal is received in response to the second completionsignal.

According to another aspect of the inventive concept, there is providedan operation method of an electronic device configured to communicatewith a host, the operation method including: in a first phase, detectinga signal transmission policy of the host as a first policy in which thehost transmits a first completion signal after a certain number of dataframes has been transmitted; in a second phase, transmitting andreceiving at least one of the data frames; and in the second phase,transmitting a second completion signal to the host when the firstcompletion signal is received from the host according to detection ofthe signal transmission policy, wherein the first phase includestransmitting or receiving a command to transmit and receive the at leastone of the data frames in the second phase.

According to another aspect of the inventive concept, there is providedan operation method of a target device configured to performcommunication via an initiator and a serial attached small computersystem interface (SAS), the operation method including: transmitting aconnection request signal; receiving an initial command signal after aconnection response signal is received from the initiator; when a firstcompletion signal corresponding to the initial command signal isreceived from the initiator within a specified time period, transmittinga second completion signal to the initiator in response to the firstcompletion signal corresponding to the initial command signal; and whenthe first completion signal corresponding to the initial command signalis not received from the initiator within the specified time period,transmitting the second completion signal to the initiator after thespecified time period expires.

Another to another aspect of the inventive concept, there is provided adevice, comprising: a first logic configured to receive an initialcommand signal, and a first completion signal corresponding to theinitial command signal, after a connection of the device a host isestablished, wherein the first logic is further configured to detect,based on the initial command signal and the first completion signal,whether a signal transmission policy of the host is a first policy or asecond policy, wherein the first logic is further configured to transmita detection signal based on the detected signal transmission policy ofthe host; and a second logic configured to receive the detection signaland to transmit a second completion signal to the host based on thedetection signal, wherein the first policy is a policy wherein the hosttransmits the first completion signal to the device after a plurality ofdata frames are transmitted from the host to the device, and wherein thesecond policy is a policy wherein the host transmits the firstcompletion signal to the device after the host receives the secondcompletion signal from the device.

BRIEF DESCRIPTION OF THE DRAWINGS

Embodiments of the inventive concept will be more clearly understoodfrom the following detailed description taken in conjunction with theaccompanying drawings.

FIG. 1 is a block diagram illustrating a memory system according to anembodiment.

FIG. 2 is a block diagram illustrating a memory system according to anembodiment.

FIG. 3 is a block diagram illustrating a memory system according to anembodiment.

FIG. 4 is a flowchart of an operation method of an electronic device,according to an embodiment.

FIG. 5 is a flowchart of an operation method of an electronic device,according to an embodiment.

FIG. 6A is a flowchart of an operation of an electronic device detectinga first policy, according to an embodiment, FIG. 6B is a sequencediagram for explaining an operation of an electronic device transmittinga completion signal according to a detected first policy, according toan embodiment, and FIG. 6C is a sequence diagram for explaining anoperation of an electronic device transmitting a completion signal afterdetermining a signal transmission policy of a host as a first policy,according to an embodiment.

FIG. 7A is a flowchart of an operation of an electronic device detectinga second policy, according to an embodiment, and FIG. 7B is a sequencediagram for explaining an operation of an electronic system transmittinga completion signal, according to the detected second policy, accordingto an embodiment.

FIG. 8A is a data flowchart of a data transmission method of anelectronic system when a signal transmission policy of a host is a firstpolicy, according to an embodiment, and FIG. 8B is diagram forexplaining a data transmission method of an electronic system when asignal transmission policy of a host is a first policy, according to anembodiment.

FIGS. 9A and 9B are data flowcharts of data transmission methods of anelectronic system when a signal transmission policy of a host is asecond policy, according to embodiments, respectively.

FIGS. 10A and 10B are sequence diagrams for explaining data transmissionmethods of an electronic system when a signal transmission policy of ahost is a first policy, according to embodiments, respectively.

FIG. 11 is a sequence diagram for explaining a data transmission methodof an electronic system when a signal transmission policy of a host is asecond policy, according to an embodiment.

FIG. 12 is a block diagram for explaining an electronic system accordingto an embodiment.

DETAILED DESCRIPTION OF THE EMBODIMENTS

Hereinafter, embodiments of the inventive concept are described indetail with reference to the accompanying drawings.

FIG. 1 is a block diagram illustrating an electronic system 10 accordingto an embodiment.

Electronic system 10 according to an embodiment may include a host 100and an electronic device 200, and electronic device 200 may include acontrol logic 210 and a transmitting logic 220. Here and throughout thespecification and the claims to follow, logic means hardware, softwareand combination thereof capable performing logical operations. Invarious embodiments the logic may comprise a logic circuit (e.g., a gatearray) and/or a processor (e.g., a central processing unit, anapplication specific integrated circuit, a digital signal processor,etc.) configured to perform logical operations in response to executableinstructions stored in a memory device.

Host 100 and electronic device 200 according to an embodiment mayestablish a connection to transmit and receive data DTA. After theconnection of host 100 to electronic device 200 is established and atleast one of host 100 and electronic device 200 transmits and receivesall the data DTA, a completion signal DONE may be sent and received. Thedata DTA may be sent in units of frames, bits, bytes, etc. Thecompletion signal DONE is a kind of a response signal, and for example,when electronic device 200 transmits data DTA, host 100 may transmit aresponse signal, which may include the completion signal DONE. In otherwords, the response signal may include alone or more signals, notlimited to the completion signal DONE, that are all sent as a responseby one of the devices receiving the data DTA.

The completion signal DONE according to an embodiment may be a signalfor informing the other party that a portion or all of the communicationprocess has been performed. For example, the completion signal DONE maybe a signal to inform electronic device 200 of a fact that there is nodata DTA to be sent by host 100 after host 100 transmits all of the dataDTA required to be sent. However, hereinafter, the completion signalDONE may be referred to as a first completion signal and a secondcompletion signal. The first completion signal may be a completionsignal DONE sent from host 100 to electronic device 200, and the secondcompletion signal may be a completion signal DONE sent from electronicdevice 200 to host 100. In other words, the first completion signal andthe second completion signal may be the same as a signal indicating thatall of the data DTA has been sent, except that only the transmittingpoints are different between the first completion signal and the secondcompletion signal.

According to an embodiment, after host 100 or electronic device 200transmits the completion signal DONE to the other party, andtransmission of the completion signal DONE is finished, furthertransmission of the data DTA may not be possible. For example, even whena situation occurs in which host 100 should transmit other data DTA, dueto various causes, after the completion signal DONE is sent, since thecompletion signal DONE has been sent to electronic device 200, the otherdata DTA may not be sent. In this case, electronic system 10 may be in ahalf-duplex communication state in which only electronic device 200 iscapable of transmitting the data DTA. In the case where electronicsystem 10 transmits and receives the data DTA in the half-duplexcommunication, the amount of data transmission may be reduced. Thus,electronic system 10 according to embodiments described herein isprovided to increase a duration time of full duplex communication byreducing the duration of the half-duplex communication.

Electronic device 200 according to an embodiment may receive one or moresignals after the connection with host 100 is established, detect asignal transmission policy of host 100 based on the received signal(s),and transmit the completion signal DONE to host 100 according to thedetected signal transmission policy. Control logic 210 may receive aninitial command signal and the completion signal DONE according to theinitial command signal, detect the signal transmission policy, andaccording to the detected signal transmission policy, may transmit adetection signal DET to transmitting logic 220. The detection signal DETmay include a signal indicating the signal transmission policy of host100. Transmitting logic 220 may transmit the completion signal DONE tohost 100 based on the received detection signal DET, and complete aseries of data transmission processes performed by electronic device200.

The signal transmission policy may denote a policy that specifies amethod in which host 100 transmits a signal to electronic device 200.For data communication to be performed by electronic system 10, host 100and electronic device 200 may transmit and receive various signalsincluding the data DTA and the completion signal DONE. For example, thesignal transmission policy may include a policy defining a time point ora period of time at or during which host 100 transmits the completionsignal DONE to electronic device 200, characteristics of the completionsignal DONE, etc.

The initial command signal may denote a command signal that host 100 orthe electronic device 200 initially transmits to the other party afterthe connection of host 100 to electronic device 200 is established. Thecommand signal may include various instructions, for example, a commandfor requesting information such as the size, capacity, and deviceinformation (for example, device type) of electronic device 200 forsmooth communication. According to an embodiment, the initial commandsignal may be used to detect the signal transmission policy of host 100.However, the embodiment is not limited thereto. According to anembodiment, host 100 may detect the signal transmission policy ofelectronic device 200, and in this case, the initial command signal sentby electronic device 200 to host 100 may be used. A method of detectingthe signal transmission policy is described later.

According to an embodiment, electronic device 200 may extend theduration time of the full-duplex communication by varying the manner inwhich the completion signal DONE to be sent to host 100 is sent,according to the signal transmission policy of host 100.

According to one embodiment, when host 100 transmits a completion signalDONE after transmitting a certain number of data frames, electronicdevice 200 may detect the signal transmission policy of host 100 as afirst policy. When the signal transmission policy of the host isdetected as the first policy, and electronic device 200 first transmitsthe completion signal DONE before receiving the completion signal DONEfrom host 100, then host 100 and electronic device 200 may be in ahalf-duplex communication state in which only host 100 performscommunication. Thus, to reduce the period of time when host 100 andelectronic device 200 are in a half-duplex communication state,electronic device 200 may transmit the completion signal DONE only afterreceiving the completion signal DONE from host 100.

According to an embodiment, when host 100 transmits the completionsignal DONE to electronic device 200 under a precondition that host 100has received the completion signal DONE from electronic device 200,electronic device 200 may detect the signal transmission policy of host100 as a second policy. In the case where the signal transmission policyis detected as the second policy and electronic device 200 does nottransmit the completion signal DONE, unless the connection of host 100to electronic device 200 is forcibly terminated by a time-out, host 100may not transmit the completion signal DONE to electronic device 200. Inother words, a communication connection time between host 100 andelectronic device 200 may be excessively increased. Thus, whenelectronic device 200 detects the signaling policy of host 100 as thesecond policy, and a triggering logic (for example, 212 in FIG. 2 )inside electronic device 200 transmits a condition signal COND,electronic device 200 may transmit the completion signal DONE to host100. In other words, independently of whether electronic device hasreceived the completion signal DONE from host 100, electronic device 200may transmit the completion signal DONE to host 100.

As described above, according to an embodiment, by performingcommunication in a variable manner between host 100 and electronicdevice 200 according to the signal transmission policy of host 100, theduration time of the full duplex communication may be efficientlyincreased and the efficiency of data transmission may be increased.However, even though a method of transmitting the completion signal DONEby electronic device 200 according to the signal transmission policy ofhost 100 is described below, the method may also be applied to a methodof transmitting the completion signal DONE by host 100 according to thesignal transmission policy of electronic device 200. In other words, thetechnical idea may be applicable even though host 100 and electronicdevice 200 is changed.

Electronic system 10 according to an embodiment may comprise varioustypes of electronic systems for exchanging various data. For example,electronic system 10 may comprise an electronic system that communicatesvia a serial attached small computer system interface (SCSI) SAS. Inthis case, host 100 and electronic device 200 may be end devicesincluding an initiator and a target, respectively. For example, whenhost 100 is an initiator and electronic device 200 is a target, host 100may include a host bus adapter (HBA), and electronic device 200 may beimplemented as various storage devices. For example, the storage devicemay be implemented as a nonvolatile memory, a volatile memory, a flashmemory, a solid state drive (SSD), a hard disk drive (HDD), etc.

Electronic system 10 according to an embodiment may not be limited tocommunication being performed by only SAS, and may comprise anelectronic system in which communication is performed via variousinterfaces. According to an embodiment, electronic system 10 may beimplemented as a server device and a client device which transmit databy using wired or wireless communication. For example, electronic system10 may utilize peripheral component interconnect (PCIe), remote directmemory access (RDMA), serial advanced technology attachment (SATA), afiber channel, or a nonvolatile memory express (NVMe), or a universalinterface such as Ethernet or universal serial bus (USB). Alternatively,electronic system 10 may perform communication via a near-field and along-distance communication interface, and may follow communicationinterfaces through various methods such as Institute of Electrical andElectronics Engineers (IEEE), Zigbee, 3rd generation (3G), 3rdgeneration partnership project (3GPP), long term evolution (LTE), 5thgeneration (5G), wireless fidelity (WiFi), Bluetooth, near fieldcommunication (NFC), and infrared ray (IR)

FIG. 2 is a block diagram illustrating electronic system 10 according toan embodiment.

Electronic system 10 according to an embodiment may include a host 100and an electronic device 200, and electronic device 200 may include acontrol logic 210 and a transmitting logic 220. Control logic 210 mayinclude a detecting logic 211 and a triggering logic 212.

Detecting logic 211 according to an embodiment may receive thecompletion signal DONE from host 100, and transmitting logic 220 maytransmit the completion signal DONE to host 100. For example, anadditional interface for transmitting or receiving signals may befurther included between detecting logic 211 and host 100, as well asbetween transmitting logic 220 and host 100.

Detecting logic 211 may receive at least one of the completion signalDONE, the data DTA, and the initial command signal from host 100.

According to an embodiment, detecting logic 211 may receive the initialcommand signal, which is a first received signal after the connection ofhost 100 to electronic device 200 is established. In addition, detectinglogic 211 may receive the completion signal DONE according to theinitial command signal after electronic system 10 performs a series ofoperations according to the initial command signal. Host 100 andelectronic device 200 may exchange various signals and establish amutual connection for data communication.

According to an embodiment, in a first phase detecting logic 211 mayreceive the initial command signal and the completion signal DONEaccording to the initial command signal. For example, the initialcommand signal may be a signal for requesting the capacity of electronicdevice 200, and the completion signal DONE, in response to the initialcommand signal, may denote that host 100 has completed an operation ofrequesting the capacity of electronic device 200. In other words, thefirst phase may denote a phase in which electronic system 10 is preparedto smoothly communicate data.

According to an embodiment, in a second phase, detecting logic 211 mayreceive the data DTA and the completion signal according to the dataDTA. For example, the completion signal DONE may be received after acertain number of data frames from host 100. Here, the completion signalDONE may be a signal that host 100 has completed an operation oftransmitting the certain number of data frames. In other words, thesecond phase may denote a phase in which electronic system 10 transmitsand receives data.

According to an embodiment, detecting logic 211 may detect the signaltransmission policy of host 100 based on the initial command signalreceived from host 100 in the first phase and the completion signal DONEaccording to the initial command signal, and detecting logic 211 maytransmit a detection signal DET to transmitting logic 220 according tothe signal transmission policy of host 100.

According to an embodiment, transmitting logic 220 may transmit thecompletion signal DONE to host 100 based on the detection signal DET.

For example, transmitting logic 220 may transmit the completion signalDONE to host 100 when the detection signal DET is received. Transmittinglogic 220 may reserve transmitting the completion signal DONE to host100 until the detection signal DET is received, even though transmittinglogic 220 is in a state capable of transmitting the completion signalDONE to host 100. For example, even after electronic device 200transmits all the data DTA to be transmitted to host 100, electronicdevice 200 may transmit additionally the data DTA due to various causes,and thus, electronic device 200 may refrain from transmitting thecompletion signal DONE to host 100 until the detection signal DET isreceived. In other words, the detection signal DET may be a signalsatisfying a condition that transmitting logic 220 sends the completionsignal DONE to host 100.

As another example, transmitting logic 220 may determine the signalingpolicy of host 100 when the detection signal DET is received. In otherwords, the detection signal DET may include information about the signaltransmission policy of host 100, and transmitting logic 220 maydetermine the signal transmission policy of host 100 based on thereceived detection signal DET. For example, transmitting logic 220 maydetermine the signal transmission policy of host 100 as either the firstpolicy or the second policy based on the received detection signal DET.Next, when transmitting logic 220 determines the signal transmissionpolicy of host 100 as the first policy, transmitting logic 220 maytransmit the completion signal DONE to host 100, and when transmittinglogic 220 determines the signal transmission policy of host 100 as thesecond policy, transmitting logic 220 may transmit the completion signalDONE to host 100 after receiving the completion signal DONE from host100.

According to an embodiment, transmitting logic 220 may transmit thecompletion signal DONE to host 100 based on the detection signal DET anda condition signal COND. transmitting logic 220 may transmit thecompletion signal DONE to host 100 in response to receiving thedetection signal DET and the condition signal COND. When transmittinglogic 220 receives the detection signal DET and the condition signalCOND, electronic device 200 may determine that all the conditions fortransmitting the completion signal DONE to host 100 are satisfied andtransmit the completion signal DONE to host 100. According to anembodiment, transmitting logic 220 may generate the completion signalDONE, be activated to transmit the completion signal DONE upon receiptof the detecting signal DET and the condition signal COND, and thentransmit the completion signal DONE to host 100.

According to an embodiment, triggering logic 212 may transmit thecondition signal COND to transmitting logic 220. According to anembodiment, triggering logic 212 may send the different condition signalCOND to transmitting logic 220 depending on whether there is a remainingdata frame to be transmitted by electronic device 200 to host 100. Thisis described below with reference to FIG. 3 .

FIG. 3 is a block diagram illustrating electronic system 10 according toan embodiment.

Electronic system 10 according to an embodiment may include host 100 andelectronic device 200, and electronic device 200 may include controllogic 210 and transmitting logic 220. Control logic 210 may includedetecting logic 211 and triggering logic 212. Triggering logic 212 mayinclude a first sub-triggering logic 213 and a second sub-triggeringlogic 214.

According to an embodiment, triggering logic 212 may transmit at leastone of a first condition signal COND1 and a second condition signalCOND2 to transmitting logic 220. The condition signal COND may includethe first condition signal COND1 and the second condition signal COND2.The first condition signal COND1 and the second condition signal COND2are required conditions for transmitting logic 220 to transmit thecompletion signal DONE to host 100. In other words, as described above,after transmitting logic 220 receives at least one of the firstcondition signal COND1 and the second condition signal COND2, and thedetection signal DET, transmitting logic 220 may transmit the completionsignal DONE to host 100.

According to an embodiment, the first condition signal COND1 and thesecond condition signal COND2 may be signals that are generateddifferently depending on whether electronic device 200 has remainingdata to be transmitted to host 100.

According to an embodiment, when first sub-triggering logic 213 isrequired to transmit the completion signal DONE to host 100 even thoughelectronic device 200 includes remaining data DTA to be transmittedtherein, first sub-triggering logic 213 may transmit the first conditionsignal COND1 to transmitting logic 220 to request transmitting logic 220to transmit the completion signal DONE. When second sub-triggering logic214 is required to transmit the completion signal DONE because thereremains no data DTA to be transmitted by electronic device 200, secondsub-triggering logic 214 may transmit the second condition signal COND2to transmitting logic 220 and request transmitting logic 220 to transmitthe completion signal DONE. For example, first sub-triggering logic 213may be implemented with firmware FW and second sub-triggering logic 214may be implemented with a link state machine.

FIG. 4 is a flowchart of an operation method of electronic device 200according to an embodiment.

A signal transition policy with which host 100 transmits the completionsignal DONE may be detected, based on the initial command signal that isreceived after establishment of a connection of host 100 to electronicdevice 200, and the completion signal DONE according to the initialcommand signal (S310) is also received. This is described in detail withreference to FIGS. 6A and 7A.

Detecting logic 211 included in electronic device 200 may transmit thedetection signal DET to transmitting logic 220 according to a detectionresult (S320). For example, the detection signal DET may be a requiredsignal for transmitting logic 220 to transmit the completion signal DONEto host 100, and the detection signal DET may be a signal includinginformation about the signal transmission policy of host 100.

Transmitting logic 220 included in electronic device 200 may transmitthe completion signal DONE to host 100 based on the detection signal DET(S330). According to an embodiment, transmitting logic 220 may treat thedetection signal DET as a required condition of the completion signalDONE by transmitting the completion signal DONE to host 100 in responseto receipt of the detection signal DET. According to another embodiment,transmitting logic 220 may determine the signal transmission policy ofhost 100 based on information about the signal transmission policy ofhost 100 included in the detection signal DET after receiving thedetection signal DET. For example, when the signal transmission policyof host 100 is determined as the first policy, transmitting logic 220may transmit the completion signal DONE to host 100, and when the signaltransmission policy of host 100 is determined as the second policy,transmitting logic 220 may transmit the completion signal DONE to host100 after receiving the detection signal DET and thereafter receivingthe completion signal DONE from host 100.

FIG. 5 is a flowchart of an operation method of electronic device 200,according to an embodiment. Descriptions already given of operationsS310 and S320 with reference to FIG. 4 are omitted.

Triggering logic 212 included in electronic device 200 may transmitdifferent condition signals COND depending on whether electronic device200 includes remaining data to be transmitted to host 100 (S325). Forexample, when there is remaining data to be transmitted by electronicdevice 200, first sub-triggering logic 213 may transmit the firstcondition signal COND1, and when there is no remaining data to betransmitted by electronic device 200, second sub-triggering logic 214may transmit the second condition signal COND2.

Electronic device 200 may transmit the completion signal DONE to host100 based on the detection signal DET and the condition signal COND(S335). Transmitting logic 220 may transmit the completion signal DONEto host 100 when both the detection signal DET and the condition signalCOND are received. For example, transmitting logic 220 may receive thedetection signal DET after receiving the condition signal COND andtransmit the completion signal DONE to host 100 in response to receivingthe condition signal COND. In another example, transmitting logic 220may receive the condition signal COND after receiving the detectionsignal DET and transmit the completion signal DONE to host 100 inresponse to receiving the detection signal DET. In another example,transmitting logic 220 may receive the detection signal DET afterreceiving the condition signal COND, determine the signal transmissionpolicy of host 100 based on the received detection signal DET, andtransmit the completion signal DONE to host 100 according to thedetermined signal transmission policy of host 100. As described above,the duration of the full-duplex communication may be increased byvariously changing the manner in which electronic device 200 transmitsthe completion signal DONE to host 100 according to the signaltransmission policy of host 100.

FIG. 6A is a flowchart of an operation of electronic device 200detecting the first policy, according to an embodiment; FIG. 6B is asequence diagram for explaining an operation of electronic device 200transmitting the completion signal DONE according to the detected firstpolicy, according to an embodiment; and FIG. 6C is a sequence diagramfor explaining an operation of electronic device 200 transmitting thecompletion signal DONE after determining the signal transmission policyof host 100 as the first policy, according to an embodiment.

According to FIG. 6A, electronic device 200 may detect the signaltransmission policy of host 100 as the first policy. Electronic device200 may transmit to host 100 a connection request signal forestablishing a connection of host 100 to electronic device 200 (S411).For example, the connection request signal may be an open address frame(OAF) according to the SAS protocol, and the OAF may include addressesof host 100 and electronic device 200.

Host 100 may transmit a connection response signal in response to thereceived connection request signal (S412). For example, the connectionresponse signal may be an open acceptance signal OPEN_ACCEPT accordingto the SAS protocol. In FIGS. 6A and 7A described below, it isillustrated that electronic device 200 transmits the connection requestsignal and host 100 transmits the connection response signal. However,to the contrary, host 100 may transmit the connection request signal,and electronic device 200 may transmit the connection response signal.On the other hand, as host 100 and electronic device 200 transmit theconnection request signal and the connection response signal, aconnection of host 100 to electronic device 200 may be established.

Host 100 may transmit the initial command signal CMD to electronicdevice 200 (S421). For example, host 100 may request various informationsuch as a remaining capacity of electronic device 200 as host 100transmits the initial command signal CMD, and electronic device 200 mayrespond to host 100 with the requested various information. The initialcommand signal CMD may, as described above, be a signal that isinitially transmitted after the connection of host 100 to electronicdevice 200 is established.

Host 100 may transmit to electronic device 200 the completion signalDONE according to the initial command signal CMD (S422). For example,after transmitting the initial command signal CMD in the first phase,host 100 may transmit the completion signal DONE according to theinitial command signal CMD to electronic device 200, regardless ofwhether host 100 receives the completion signal DONE from electronicdevice 200. For example, after transmitting the initial command signalCMD, host 100 may transmit the completion signal DONE according to theinitial command signal CMD to electronic device 200 within a certaintime. In this case, host 100 in the second phase may transmit thecompletion signal DONE after transmitting a certain number of dataframes or a certain-sized data DTA.

When the signal transmission of host 100 is the first policy, host 100may transmit the initial command signal CMD and the correspondingcompletion signal DONE regardless of whether the command signal CMD hasbeen received as the completion signal DONE from electronic device 200.In addition, when the signal transmission policy of host 100 is thefirst policy, in the second phase, host 100 may transmit the completionsignal DONE after transmitting the certain number of data frames or thecertain-sized data DTA. Accordingly, electronic device 200 may detectthe signal transmission policy of host 100 in the first phaseimmediately after the connection with host 100 is established.

Thus, by receiving the initial command signal CMD and the correspondingcompletion signal DONE transmitted from host 100 in the first phase,electronic device 200 may detect the signal transmission policy of host100 as the first policy in which host 100 transmits the completionsignal DONE after transmitting the certain number of data frames.

According to FIG. 6B, in the second phase, transmitting logic 220 ofelectronic device 200 may transmit the completion signal DONE to host100 as transmitting logic 220 receives the condition signal COND and thedetection signal DET.

Similar to the above, detecting logic 211 may detect the signaltransmission policy of host 100 as the first policy (S430). Triggeringlogic 212 may transmit the condition signal COND to transmitting logic220 (S440). In this case, the condition signal COND may include thefirst condition signal COND1 and the second conditional signal COND2.The condition signal COND may be a signal to request transmitting logic220 to transmit the completion signal DONE to host 100.

After transmitting a series of data DTA, host 100 may transmit thecompletion signal DONE according to the transmitted data DTA todetecting logic 211 of electronic device 200 (S450). For example, whenhost 100 transmits the completion signal DONE to the various receptioninterfaces included in electronic device 200, the reception interfacemay transmit the completion signal DONE received from host 100 todetecting logic 211. In the second phase, host 100 may transmit andreceive the data DTA to and from electronic device 200. In this case,after transmitting all data DTA to have been transmitted to electronicdevice 200, host 100 may transmit the completion signal DONE accordingto transmission of the data DTA.

After receiving the completion signal DONE, detecting logic 211 maygenerate the detection signal DET and transmit the detection signal DETto transmitting logic 220 (S460). When detecting logic 211 detects thesignal transmission policy of host 100 as the first policy (S430) andreceives the completion signal DONE (S450), detecting logic 211 maygenerate the detection signal DET and transmit the generated detectionsignal DET to transmitting logic 220 (S460).

After host 100 has sent the certain number of data frames and when host100 transmits the completion signal DONE regardless of receiving thecompletion signal DONE from electronic device 200, it may be understoodthat the half-duplex communication is performed even though electronicdevice 200 does not transmit the completion signal DONE. Accordingly,when host 100 transmits the completion signal DONE (S450), detectinglogic 211 may no longer perform the full-duplex communication, and thus,detecting logic 211 may transmit the detection signal DET totransmitting logic 220 such that transmitting logic 220 transmits thecompletion signal DONE (S480). In addition, by suspending thetransmission of the detection signal DET until detecting logic 211receives the completion signal DONE from host 100, the duration time ofperforming the full duplex communication between host 100 and electronicdevice 200 may be increased.

Transmitting logic 220 may receive the condition signal COND and thedetection signal DET (S470) and transmit the completion signal DONE inresponse to receiving the condition signal COND and the detection signalDET (S480). For example, by receiving the condition COND and thedetection signal DET as well as transmitting the completion signal DONE,transmitting logic 220 may complete a process of exchanging the data DTAbetween host 100 and electronic device 200. When transmitting logic 220receives the detection signal DET together with at least one of thefirst condition signal COND1 and the second condition signal COND2,transmitting logic 220 may transmit the completion signal DONE. Inaddition, transmitting logic 220 may also be programmed to transmit thecompletion signal DONE to host 100 upon receipt of the detection signalDET and the condition signal COND.

According to FIG. 6C, in the second phase, transmitting logic 220 maydetermine the signal transmission policy of host 100 as the first policyand may transmit the completion signal DONE to host 100.

Detecting logic 211 may transmit the detection signal DET totransmitting logic 220 as detecting logic 211 detects the signaltransmission policy of host 100 as the first policy. In this case, thedetection signal DET may include information denoting that the signaltransmission policy of host 100 is the first policy. Triggering logic212 may transmit the condition signal COND to transmitting logic 220(S451). On the other hand, operation S441 may be performed afteroperation S451 is performed.

Detecting logic 211 may determine the signal transmission policy of host100 as the first policy based on the received detection signal DET(S461). In other words, transmitting logic 220 may determine the signaltransmission policy of host 100, based on information included in thedetection signal DET.

Host 100 may transmit the completion signal DONE to detecting logic 211,and detecting logic 211 may transmit the completion signal DONE totransmitting logic 220 (S471 and S472). In other words, the completionsignal DONE transmitted by host 100 may be received by transmittinglogic 220 via detecting logic 211. However, the embodiment is notlimited thereto, and as various types of receiving interfaces includedin electronic device 200 receive the completion signal DONE from host100, and the receiving interfaces that have received the completionsignal DONE transmit the completion signal DONE to transmitting logic220, operations S471 and S472 may be performed instead.

transmitting logic 220 may receive the condition signal COND and thedetection signal DET (S481) and transmit the completion signal DONE inresponse to receiving the condition signal COND and the detection signalDET (S491).

As described above, according to FIG. 6C, when electronic device 200receives the completion signal DONE from host 100 (S471), transmittinglogic 220 may determine the signal transmission policy of host 100 asthe first policy in operation S461 to prepare to transmit the completionsignal DONE to host 100 in response (S491). Accordingly, when thedetection signal DET and the condition signal COND are received, byreceiving the completion signal DONE from host 100 and then transmittingthe completion signal DONE to host 100, transmitting logic 220 mayreduce a delay required to complete a series of data communicationprocesses.

FIG. 7A is a flowchart of an operation of electronic device 200detecting the second policy, according to an embodiment, and FIG. 7B isa sequence diagram for explaining an operation of electronic system 10transmitting the completion signal DONE, according to the detectedsecond policy, according to an embodiment. Hereinafter, descriptionsalready given with reference to FIGS. 6A through 6C are omitted.

According to FIG. 7A, electronic device 200 may detect the signaltransmission policy of host 100 as the second policy. Electronic device200 may transmit to host 100 a connection request signal forestablishing a connection of host 100 to electronic device 200 (S511).Host 100 may transmit a connection response signal in response to thereceived connection request signal (S512). For example, when electronicsystem 10 performs communication according to the SAS protocol, theconnection request signal may be the OAF, and the connection responsesignal may be the open acceptance signal OPEN_ACCEPT.

Host 100 may transmit the initial command signal CMD to electronicdevice 200, and electronic device 200 may transmit information requestedfrom host 100 to host 100 according to the initial command signal CMD(S521).

According to an embodiment, after transmitting the initial commandsignal CMD, host 100 may not transmit the completion signal DONEaccording to the initial command signal CMD to electronic device 200within the certain time. When electronic device 200 does not receive thecompletion signal DONE according to the initial command signal CMDwithin the certain time after receiving the initial command signal CMD,electronic device 200 may perform operation S522, wherein electronicdevice 200 may transmit the completion signal DONE to host 100 (S522).

For example, after electronic device 200 transmits information requestedthrough the initial command signal CMD or a series of data DTA to host100, electronic device 200 may transmit the corresponding completionsignal DONE to host 100.

Host 100 may transmit to electronic device 200 the completion signalDONE according to the initial command signal CMD (S523). For example,after transmitting the initial command signal CMD in the first phase,host 100 may transmit the completion signal DONE according to theinitial command signal CMD to electronic device 200, depending onwhether host 100 receives the completion signal DONE from electronicdevice 200. In other words, when the signal transmission policy of host100 is the second policy, in the first phase and the second phase, host100 may transmit the completion signal DONE to electronic device 200after receiving the completion signal DONE from electronic device 200.

By transmitting the initial command signal CMD transmitted by host 100in the first phase, and then transmitting the completion signal DONE,electronic device 200 may detect the signal transmission policy of host100 as the second policy (S530). In other words, after host 100transmits the completion signal DONE to electronic device 200 in thesecond phase also, electronic device 200 may detect the transmission ofthe completion signal DONE from host 100 through the communicationprocess in the first phase. Thus, electronic device 200 may detect thesignal transmission policy of host 100 as the second policy in whichhost 100 transmits the completion signal DONE to electronic device 200after host 100 receives a completion signal DONE from electronic device200.

According to FIG. 7B, in the second phase, transmitting logic 220 maytransmit the completion signal DONE to host 100 as transmitting logic220 receives the condition signal COND and the detection signal DET.

Similar to the above, detecting logic 211 may detect the signaltransmission policy of host 100 as the second policy in which host 100transmits the completion signal DONE to electronic device 200 after host100 receives a completion signal DONE from electronic device 200 (S530).Detecting logic 211 may generate the detection signal DET and transmitthe generated detection signal DET to transmitting logic 220, asdetecting logic 211 detects the signal transmission policy of host 100as the second policy (S540).

According to an embodiment, transmitting logic 220 may determine thesignal transmission policy of host 100 as the second policy based on thereceived detection signal DET (S550). In this case, the detection signalDET may include information about the signal transmission policy of host100. Based on the information included in the detection signal DET,transmitting logic 220 may determine the signal transmission policy ofhost 100 as the second policy. According to another embodiment,operation S550 may be omitted. Transmitting logic 220 may also beprogrammed to transmit the completion signal DONE to host 100 uponreceipt of both of the detection signal DET and the condition signalCOND. In this case, transmitting logic 220 may not need to determine thesignal transmission policy of host 100 and reduce the processing timethereof.

Triggering logic 212 may transmit the condition signal COND totransmitting logic 220 (S560). As described above, the condition signalCOND may include the first condition signal COND1 and the secondcondition signal COND2 that are respectively generated by firstsub-triggering logic 213 and second sub-triggering logic 214. On theother hand, the order of the operations S560 and S540 may be changed. Inother words, electronic device 200 may perform operations in the orderof operations S560, S540, and S550.

Transmitting logic 220 may receive the condition signal COND and thedetection signal DET (S570) and transmit the completion signal DONEbased on receiving the condition signal COND and the detection signalDET (S580).

Although not illustrated, after electronic device 200 transmits the dataDTA in the second phase, electronic device 200 may transmit thecompletion signal DONE according to the transmitted data DTA. Host 100may transmit the completion signal DONE to electronic device 200 (S590)by, or in response to, receiving the completion signal DONE according tothe data DTA transmitted by electronic device 200 (S580). This may bebecause the signal transmission policy of host 100 is the second policy.

FIG. 8A is a data flowchart of a data transmission method of electronicsystem 10 when the signal transmission policy of host 100 is the firstpolicy, according to an embodiment, and FIG. 8B is a diagram forexplaining a data transmission method of electronic system 10 when thesignal transmission policy of host 100 is the first policy, according toan embodiment.

Referring to FIG. 8A, when the signal transmission policy of host 100 isthe first policy, after the connection of host 100 to the electronicdevice 200 is established, the host 100 may transmit data 61 andthereafter completion signal 62 to electronic device 200. In an example,data 61 may include a certain number of data frames, and in anotherexample, data 61 may be data having a certain size (for example, thenumber of bits). In this case, when electronic device 200 in a generalconfiguration transmits a completion signal 64 regardless of whetherelectronic device 200 has received a completion signal 62 from host 100after transmitting data 63, an interval may occur in which thehalf-duplex communication is performed from a time point at whichcompletion signal 64 is transmitted to host 100 to a time point at whichcompletion signal 62 is received from host 100.

Referring to FIG. 8B, electronic device 200 may perform an operationmethod according to an embodiment. After host 100 transmits data 61, inresponse to transmitting the corresponding completion signal 62 by host100, electronic device 200 may transmit the completion signal 64. Toperform communication, not as illustrated in FIG. 8A in which electronicdevice 200 transmits completion signal 64 after transmitting data 63,but as illustrated in FIG. 8B in which electronic device 200 transmitscompletion signal 64 to host 100 after receiving completion signal 62,electronic device 200 may include detecting logic 211, triggering logic212, and transmitting logic 220. Accordingly, as the interval in whichthe half-duplex communication is performed is reduced, electronic device200 may transmit more of data 65 and data 66, and thus, the amount ofdata transmission and the data transmission efficiency may be increased.

FIGS. 9A and 9B are data flowcharts of data transmission methods ofelectronic system 10 when the signal transmission policy of host 100 isthe second policy, according to embodiments, respectively.

Referring to FIG. 9A, after electronic device 200 determines the signaltransmission policy of host 100 as the first policy, the signaltransmission policy of host 100 may be changed to the second policy dueto various causes such as a physical cause in host 100 changed by auser, a change in software (for example, a change in the signaltransmission policy of host 100 by the user). Even in this case, whenelectronic device 200 operates by mistakenly assuming that host 100 usesstill the first policy, a malfunction (for example a dead lock) mayoccur where neither host 100 nor electronic device 200 transmits thecompletion signal DONE.

Referring to FIG. 9B, according to an embodiment, electronic device 200may detect that host 100 transmits a completion signal 72, only afterhost 100 receives data 71 and a corresponding completion signal 74. Inother words, in the first phase, electronic device 200 may detect inadvance that the signal transmission policy of host 100 is the secondpolicy, and in the second phase, electronic device 200 may transmitcompletion signal 74 based on the detection signal DET and the conditionsignal COND, regardless of receiving completion signal 72 from host 100.Descriptions thereof have been already given with reference to FIGS. 7Aand 7B, and thus are omitted here.

FIGS. 10A and 10B are sequence diagrams for explaining data transmissionmethods of electronic system 10 when the signal transmission policy ofhost 100 is the first policy, according to embodiments, respectively.

Referring to FIG. 10A, similar to that described above in FIG. 8A,electronic system 10 may have a half-duplex communication interval in acertain time period. For example, in a connection preparation phase,host 100 and electronic device 200 may transmit the connection requestsignal and the connection response signal, respectively (S810 and S820).In the second phase of exchanging data, host 100 may transmit a firstdata DTA1 to electronic device 200, and electronic device 200 maytransmit a second data DTA2 to host 100 (S831).

Electronic device 200 may transmit a second completion signal DONE2 tohost 100 (S841). After transmitting the second completion signal DONE2,although the second data DTA to be transmitted to host 100 by electronicdevice 200 due to various causes may occur, the second data DTA2 may notbe transmitted. In other words, only host 100 included in electronicsystem 10 may transmit the first data DTA1, and electronic device 200may perform the half-duplex communication in which the second data DTA2cannot be transferred any more. Host 100 may transmit the firstcompletion signal DONE1 after all the certain number of data frames havebeen transmitted (S861), and by exchanging connection end signals, theestablished connection of host 100 to electronic device 200 may beterminated (S871).

According to FIG. 10B, similar to that described above with reference toFIG. 8B, the half-duplex communication interval of the electronic system10 may be reduced. For example, in a connection preparation phase, host100 and electronic device 200 may transmit the connection request signaland the connection response signal, respectively (S810 and S820). In thesecond phase of exchanging data, host 100 may transmit a first data DTA1to electronic device 200, and electronic device 200 may transmit asecond data DTA2 to host 100 (S832).

Host 100 may transmit the first completion signal DONE1 to electronicdevice 200 (S842). Electronic device 200 may transmit the secondcompletion signal DONE2 after receiving the first completion signalDONE1 from host 100 (S852).

Compared with the content in FIG. 10A, electronic device 200 maymaintain the full-duplex communication method like operation S832 aslong as possible to increase the data transmission efficiency, untilelectronic device 200 receives the first completion signal DONE1. Inother words, according to an embodiment, electronic device 200 maydetect the signal transmission policy of host 100 as the first policy inthe first phase, and only after receiving the first completion signal inthe second phase (S842), electronic device 200 may transmit the secondcompletion signal (S852).

By exchanging the connection end signals, host 100 and electronic device200 may terminate the established connection (S862). For example, theconnection end signal may include a close signal CLOSE according to theSAS protocol. The first completion signal DONE1 may denote thecompletion signal that host 100 transmits to electronic device 200, andthe second completion signal DONE2 may denote the completion thatelectronic device 200 transmits to host 100. In addition, the firstcompletion signal DONE1 may be the completion signal DONE according totransmission of the first data DTA1, and the second completion signalDONE2 may be the completion signal DONE2 according to transmission ofthe second data DTA2.

FIG. 11 is a sequence diagram for explaining a data transmission methodof electronic system 10 when the signal transmission policy of host 100is the second policy, according to an embodiment. Descriptions alreadygiven with reference to FIGS. 10A and 10B may be omitted.

Referring to FIG. 11 , in the connection preparation phase, host 100 andelectronic device 200 may transmit the connection request signal and theconnection response signal, respectively (S810 and S820). In the secondphase of exchanging data, host 100 may transmit a first data DTA1 toelectronic device 200, and electronic device 200 may transmit a seconddata DTA2 to host 100 (S833).

Electronic device 200 may transmit the second completion signal DONE2 tothe host 100 (S843). According to an embodiment, when transmitting logic220 included in electronic device 200 receives the detection signal DETand the condition signal COND, to determine the signal transmissionpolicy of host 100 as the second policy and to prevent the deadlockbetween host 100 and electronic device 200, electronic device 200 maytransmit the second completion signal DONE2 regardless of receiving thecompletion signal DONE from host 100.

Since the signal transmission policy of host 100 is the second policy,host 100 may transmit the first completion signal DONE1 in response toreceiving the second completion signal DONE2 (S853).

By exchanging the connection end signals, host 100 and electronic device200 may terminate the established connection (S863).

FIG. 12 is a block diagram for explaining an electronic system 20according to an embodiment.

Referring to FIG. 12 , electronic system 20 may include a centralprocessing unit (CPU) 910, an initiator 920, a target 930, a bus 940between CPU 910 and initiator 920, and a bus 950 between initiator 920and target 930. CPU 910 may perform an overall control of electronicsystem 20 and may be implemented by an application processor (AP).Initiator 920 and target 930 may include various end devices whichcommunicate through the SAS protocol, and initiator 920 may include ahost bus adapter (HBA). Target 930 may be implemented with variousmagnetic field devices and may be implemented, for example, by a solidstate drive (SSD). Bus 950 may be implemented to communicate through theSAS protocol. Initiator 920 may be implemented by host 100 describedabove, and target 930 may be implemented by electronic device 200described above. Alternatively, target 930 may be implemented by host100, and initiator 920 may be implemented by electronic device 200. Forexample, target 930 may determine the signal transmission policy ofinitiator 920, and differently transmit the completion signal DONE toinitiator 920 via bus 950 for each of the first policy and the secondpolicy.

According to an electronic device and an operating method of the sameaccording to example embodiments, by detecting a signal transmissionmethod of a host, the electronic device may perform data communicationwith the host through a full duplex communication and thus increase theefficiency of data transmission.

The various operations of methods described above may be performed byany suitable means capable of performing the operations, such as varioushardware and/or software component(s), circuits, and/or module(s).

The software may comprise an ordered listing of executable instructionsfor implementing logical functions, and can be embodied in any“processor-readable medium” for use by or in connection with aninstruction execution system, apparatus, or device, such as a single ormultiple-core processor or processor-containing system.

The blocks or steps of a method or algorithm and functions described inconnection with the embodiments disclosed herein may be embodieddirectly in hardware, in a software module executed by a processor, orin a combination of the two. If implemented in software, the functionsmay be stored on or transmitted over as one or more instructions or codeon a tangible, non-transitory computer-readable medium. A softwaremodule may reside in Random Access Memory (RAM), flash memory, Read OnlyMemory (ROM), Electrically Programmable ROM (EPROM), ElectricallyErasable Programmable ROM (EEPROM), registers, hard disk, a removabledisk, a CD ROM, or any other form of storage medium known in the art.

As described above, embodiments have been disclosed in the drawings andthe specification. While the embodiments have been described herein withreference to specific terms, it should be understood that they have beenused only for the purpose of describing the technical idea of theinventive concept and not for limiting the scope of the inventiveconcept as defined in the claims. Thus, those with ordinary skill in theart will appreciate that various modifications and equivalentembodiments are possible without departing from the scope of theinventive concept. Accordingly, the true scope of protection of theinventive concept should be determined by the technical idea of thefollowing claims.

What is claimed is:
 1. An electronic device configured to communicatewith a host, the electronic device comprising: a detecting logicconfigured to receive from the host, after a connection of the host tothe electronic device is established, an initial command signal and afirst completion signal, and detect a signal transmission policy of thehost based on a relationship between timing of receiving the firstcompletion signal from the host and timing of transmitting a secondcompletion signal to the host, and generate a detection signal based onthe detected signal transmission policy of the host, wherein the initialcommand signal is the first signal transmitted from the host to theelectronic device after the connection of the host to the electronicdevice is established, wherein the first completion signal istransmitted from the host to the electronic device in response to theinitial command signal, wherein the second completion signal istransmitted from the electronic device to the host in response to theinitial command signal; and a transmitting logic configured to transmita third completion signal to the host based on the detection signal,wherein the third completion signal indicates that the electronic devicehas completed transmitting to the host all of specified information. 2.The electronic device of claim 1, wherein the detecting logic transmitsthe detection signal to the transmitting logic when the signaltransmission policy of the host is detected, and wherein the detectionsignal includes information about the signal transmission policy of thehost.
 3. The electronic device of claim 1, wherein the detecting logicdetect a signal transmission policy of the host as a first policy whenthe timing of receiving the first completion signal from the host isfaster than the timing of transmitting the second completion signal tothe host, and detect a signal transmission policy of the host as asecond policy when the timing of transmitting the second completionsignal to the host is faster than the timing of receiving the firstcompletion signal from the host.
 4. The electronic device of claim 3,wherein the transmitting logic transmits the third completion signal tothe host after the host transmits a forth completion signal to thedetecting logic, when the signal transmission policy of the host isdetected as the first policy, wherein the forth completion signalindicates that the host has completed transmitting to the electronicdevice all of the specified information.
 5. The electronic device ofclaim 3, wherein the transmitting logic transmits the third completionsignal to the host before the host transmits a forth completion signalto the detecting logic, when the signal transmission policy of the hostis detected as the second policy, wherein the forth completion signalindicates that the host has completed transmitting to the electronicdevice all of the specified information.
 6. The electronic device ofclaim 1, wherein the electronic device is configured to transmit one ormore data frames to the host, and further comprises a triggering logictransmitting to the transmitting logic a condition signal which differsdepending on whether there is a remaining data frame to be transmittedto the host, and wherein the transmitting logic is configured totransmit the third completion signal to the host in response toreceiving both the detection signal and the condition signal.
 7. Theelectronic device of claim 6, wherein the condition signal comprises afirst condition signal and a second condition signal, and wherein thetriggering logic transmits the first condition signal to thetransmitting logic when there is the remaining data frame to betransmitted, and the triggering logic transmits the second conditionsignal to the transmitting logic when there is no remaining data frameto be transmitted.
 8. An electronic device configured to communicatewith a host and transmit one or more data frames to the host, theelectronic device comprising: a detecting logic configured to receive aninitial command signal and a first completion signal from the host inresponse to the initial command signal, and transmit a second completionsignal to the host in response to the initial command signal, and detecta signal transmission policy of the host based on a timing of receivingthe first completion signal and a timing of transmitting the secondcompletion signal, and generate a detection signal including informationabout the signal transmission policy of the host, wherein the initialcommand signal is the first signal transmitted from the host to theelectronic device after a connection of the host to the electronicdevice is established; a triggering logic configured to generate acondition signal which differs depending on whether there is a remainingdata frame to be transmitted to the host; and a transmitting logicconfigured to transmit a third completion signal to the host based onthe detection signal, wherein the third completion signal indicates thatthe electronic device has completed transmitting to the host all ofspecified information.
 9. The electronic device of claim 8, wherein thedetecting logic detect a signal transmission policy of the host as afirst policy when the timing of receiving the first completion signalfrom the host is faster than the timing of transmitting the secondcompletion signal to the host, and detect a signal transmission policyof the host as a second policy when the timing of transmitting thesecond completion signal to the host is faster than the timing ofreceiving the first completion signal from the host.
 10. The electronicdevice of claim 9, wherein the transmitting logic transmits the thirdcompletion signal to the host after the host transmits a forthcompletion signal to the detecting logic, when the signal transmissionpolicy of the host is detected as the first policy, wherein the forthcompletion signal indicates that the host has completed transmitting tothe electronic device all of the specified information.
 11. Theelectronic device of claim 9, wherein the transmitting logic transmitsthe third completion signal to the host before the host transmits aforth completion signal to the detecting logic, when the signaltransmission policy of the host is detected as the second policy,wherein the forth completion signal indicates that the host hascompleted transmitting to the electronic device all of the specifiedinformation.
 12. The electronic device of claim 8, wherein thetriggering logic comprises a first sub-triggering logic and a secondsub-triggering logic, wherein the first sub-triggering logic generates afirst condition signal requesting the transmitting logic to transmit thethird completion signal to the host even though electronic deviceincludes remaining data to be transmitted, and wherein the secondsub-triggering logic generates a second condition signal requesting thetransmitting logic to transmit the third completion signal to the hostwhen there remains no data to be transmitted by electronic device. 13.The electronic device of claim 12, wherein the first sub-triggeringlogic implemented with firmware, and wherein the second sub-triggeringlogic implemented with a link state machine.
 14. The electronic deviceof claim 12, wherein the transmitting logic transmit a forth completionsignal to the host after the transmitting logic receives at least one ofthe first condition signal and the second condition signal, and thedetection signal, wherein the forth completion signal is independent ofthe third completion signal and indicates that the host has completedtransmitting to the electronic device all of the specified information.15. An operation method of an electronic device configured tocommunicate with a host, the operation method comprising: in a firstphase, detecting a signal transmission policy of the host by theelectronic device as a second policy when the host transmits to theelectronic device a first completion signal after the electronic devicetransmits to the host a second completion signal corresponding to ainitial command signal, wherein the initial command signal is the firstsignal transmitted from the host to the electronic device after aconnection between the host and the electronic device is established,wherein the first completion signal is delayed for a certain time afterthe initial command signal is transmitted from the host to theelectronic device, wherein the second completion signal is transmittedfrom the electronic device to the host when the first completion signalis not received from the host within the certain time after receivingthe initial command signal, in a second phase, transmitting a thirdcompletion signal from the electronic device to the host after theelectronic device transmits at least one data frames to the hostaccording to second policy detected by the electronic device, whereinthe third completion signal indicates that the electronic device hascompleted transmitting the at least one data frames to the host; and inthe second phase, transmitting a forth completion signal from the hostto the electronic device after the host receives the third completionsignal from the electronic device according to second policy detected bythe electronic device, wherein the forth completion signal indicatesthat the host has completed transmitting the at least one data frames tothe electronic device.
 16. The operation method of claim 15, furthercomprising generating a detection signal including information about thesignal transmission policy of the host in the second phase.
 17. Theoperation method of claim 16, further comprising generating a conditionsignal requesting the electronic device to transmit the third completionsignal to the host in the second phase, and transmitting the thirdcompletion signal based on the detection signal and the conditionsignal.
 18. The operation method of claim 17, wherein generating acondition signal includes generating a first condition signal requestingthe electronic device to transmit the third completion signal to thehost even though electronic device includes remaining data to betransmitted; and generating a second condition signal requesting theelectronic device to transmit the third completion signal to the hostwhen there remains no data to be transmitted by electronic device. 19.The operation method of claim 15, wherein the forth completion signal isindependent of the third completion signal.
 20. The operation method ofclaim 15, further comprising detecting the signal transmission policy ofthe host as a first policy different from the second policy byelectronic device when the electronic device receives sequentially fromthe host an initial command signal followed by a first completion signalcorresponding to the initial command signal in the first phase.